using AutoMapper;
using ERP.ERPModels.Production.MasterData;
using ERP.ERPModels.WarehouseManagement;
using ERP.HumanResources.HumanResourceManagement.Dtos;
using ERP.RBAC;
using ERP.RBAC.Dto;
using ERP.WarehouseManagement.Dto;
//using ERP.RBAC;
//using ERP.RBAC.Dto;

namespace ERP.Web;

public class ERPWebAutoMapperProfile : Profile
{
    public ERPWebAutoMapperProfile()
    {
        //Define your object mappings here, for the Web project
        CreateMap<UserDTO, Users>().ReverseMap();

        CreateMap<ProcessConfigurationAddDTO, ProcessConfiguration>().ReverseMap();
        CreateMap<OutsourcingAddDTO, Outsourcing>().ReverseMap();

        CreateMap<RolePerDto, Roles>();
    }
}
